/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.gft.bancosimulador.outros;

import com.gft.bancosimulador.beans.Cliente;
import java.util.Comparator;

/**
 *
 * @author AEPI
 */
public class ComparadorCodigo implements Comparator<Cliente> {

    @Override
    public int compare(Cliente t1, Cliente t2) {
        return t1.getCodigo().compareTo(t2.getCodigo());
    }
    
}
